#if !defined(AFX_CHARTEVENTSINK_H__8A256BBA_AA65_417F_9719_014256D26E17__INCLUDED_)
#define AFX_CHARTEVENTSINK_H__8A256BBA_AA65_417F_9719_014256D26E17__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ChartEventSink.h : header file
//


//GUID {0799 439F-5608-40BA-96FF-40FA 0E3E 9D29}
static const IID IID_IGxChartDataEvents =
{ 0x0799439f, 0x5608, 0x40ba, { 0x96, 0xff, 0x40, 0xfa, 0x0e, 0x3e, 0x9d, 0x29 } };

/////////////////////////////////////////////////////////////////////////////
// CChartEventSink command target

class CMainOrderPanel;

class CChartEventSink : public CCmdTarget
{
	DECLARE_DYNCREATE(CChartEventSink)

	CChartEventSink();           // protected constructor used by dynamic creation

// Attributes
public:
	DWORD m_Cookie;

	CMainOrderPanel* m_pMainDlg;	
// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CChartEventSink)
	public:
	virtual void OnFinalRelease();	
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~CChartEventSink();

	// Generated message map functions
	//{{AFX_MSG(CChartEventSink)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
	// Generated OLE dispatch map functions
	//{{AFX_DISPATCH(CChartEventSink)
	afx_msg void OnDataRefreshed(LPDISPATCH ChartData);
	afx_msg void OnDataAdded(LPDISPATCH ChartData);
	afx_msg void OnDataUpdated(LPDISPATCH ChartData);
	//}}AFX_DISPATCH
	DECLARE_DISPATCH_MAP()
	DECLARE_INTERFACE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CHARTEVENTSINK_H__8A256BBA_AA65_417F_9719_014256D26E17__INCLUDED_)
